package com.hotelvip.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotelvip.entity.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 客户用户对象
 * @author Lzh
 * @date 2020/12/14 11:16
 */
@Data
@TableName("ht_user")
@ApiModel(value = "客户用户对象",description = "客户用户对象User")
@Accessors(chain = true)
public class UserDTO extends BasePojo {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "客户用户id",name = "id")
    private Long id;
    @ApiModelProperty(value = "客户用户名",name = "name")
    private String name;
    @ApiModelProperty(value = "会员状态enum",name = "vStatus")
    private Integer vStatus;

    @ApiModelProperty(value = "民族enum",name = "nation")
    private Integer nation;

    @ApiModelProperty(value = "地址",name = "addr")
    private String addr;
    @ApiModelProperty(value = "信仰enum",name = "faith")
    private Integer faith;

    @ApiModelProperty(value = "是否企业enum",name = "comF")
    private Integer comF;

    @ApiModelProperty(value = "行业enum",name = "profession")
    private Integer profession;

    @ApiModelProperty(value = "生日",name = "birth")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birth;
    @ApiModelProperty(value = "微信号",name = "vx")
    private String wx;
    @ApiModelProperty(value = "家庭人数",name = "famSum")
    private Integer famSum;
    @ApiModelProperty(value = "介绍人",name = "parentId")
    private Long parentId;
    @ApiModelProperty(value = "性别enum",name = "gender")
    private Integer gender;

    @ApiModelProperty(value = "证件类型enum",name = "idType")
    private Integer idType;

    @ApiModelProperty(value = "客户电话",name = "phone")
    private String phone;
    @ApiModelProperty(value = "职务enum",name = "job")
    private Integer job;

    @ApiModelProperty(value = "房号",name = "roomNo")
    private String roomNo;
    @ApiModelProperty(value = "年龄段enum",name = "ageGroup")
    private Integer ageGroup;

    @ApiModelProperty(value = "qq号",name = "qq")
    private String qq;
    @ApiModelProperty(value = "爱好",name = "hobby")
    private String hobby;
    @ApiModelProperty(value = "介绍人身份enum",name = "identity")
    private Integer identity;
    @ApiModelProperty(value = "客户成熟度",name = "maturity")
    private String maturity;
    @ApiModelProperty(value = "证件号码",name = "cid")
    private String cid;
    @ApiModelProperty(value = "客户类型",name = "pType")
    private String pType;
    @ApiModelProperty(value = "工作单位",name = "comp")
    private String comp;
    @ApiModelProperty(value = "固定电话",name = "tel")
    private String tel;
    @ApiModelProperty(value = "电子邮件",name = "mail")
    private String mail;
    @ApiModelProperty(value = "备注",name = "comment")
    private String comment;
    @ApiModelProperty(value = "创建用户",name = "createdUser")
    private String createdUser;
    @ApiModelProperty(value = "修改用户",name = "createdTime")
    private String updatedUser;






}
